package cc.lj.internal.merchant.domain.contract.model.vo.convert;

import cc.lj.internal.merchant.domain.contract.model.vo.MerchantContractSignedDO;
import cc.lj.internal.merchant.infrastructure.po.MerchantContractSignedPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 商户合同签订表PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2021-12-11
 */
@Mapper
public interface MerchantContractSignedPOConvertDO {
    MerchantContractSignedPOConvertDO INSTANCE = Mappers.getMapper(MerchantContractSignedPOConvertDO.class);
    //do to po
    MerchantContractSignedPO convert(MerchantContractSignedDO signedDO);

    //po to do
    MerchantContractSignedDO convert(MerchantContractSignedPO signedPO);
}
